package top.lilele.adminSystem.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.lilele.adminSystem.entity.AdminSpaceEntity;
import top.lilele.adminSystem.vo.SpaceListVo;

import java.util.List;

/**
 * @author lilele
 */
@Mapper
public interface AdminSpaceMapper extends BaseMapper<AdminSpaceEntity> {

    /**
     * 查询我的空间列表
     * @param queryWrapper
     * @return
     */
    List<SpaceListVo> queryMySpaceList(@Param(Constants.WRAPPER) QueryWrapper queryWrapper);
}
